package com.loop.extendsDemo;

public class Dog extends Animal{
    //int i =88;
    public Dog() {
        System.out.println("dog cons");
    }

    @Override
    public void eat(){
        int i = 2;
        System.out.println("eat"+i);
    }

    public void shout(){
        System.out.println("shout");
    }
}
